{config_load file="index.conf"}<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"
"http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
    <card title="Invite">
        {include file="inc/global_menu.tpl"}

		<b>Invite <a href="/another/profile/{$data.user_id}/">{$data.user_login}</a> to</b>
		
		{if $invite}
		    <p>Invitation send</p>
		{/if}
		{if sizeof($rooms)}
	        <select name="invite">
	        {foreach from=$rooms item=item}
	            <option value="{$item.room_id}">{$item.room_name}</option>
	        {/foreach}
	        </select>
            <anchor>Invite
                <go href="/{$sys_path}/" method="post">
                    <postfield name="invite" value="$(invite)"/>
                </go>
            </anchor>
		{else}
		    <p>Nothing.</p>
		{/if}<br />
		<a href="/another/index/{$data.user_id}/">User menu</a>
    </card>
</wml>